package com.workerhelping.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_worker")
public class Worker implements Serializable {
    @TableId
    private Integer id;
    // 职工手机号（用于注册）
    private String phoneNumber;
    // 职工密码
    private String password;
    // 建档日期
    private Date createDate;
    // 档案状态,对应StatusEnum
    private Integer status;
}
